package com.example.harmans;

import java.util.ArrayList;

import android.app.ListActivity;
import android.widget.ArrayAdapter;

public class ListViewDemo extends ListActivity {
    ArrayList<String> listItems=new ArrayList<String>();
    ArrayAdapter<String> adapter;

    int clickCounter=0;

    public void setList(ArrayList list) {
        adapter=new ArrayAdapter<String>(this,android.R.layout.simple_list_item_1,list);
        setListAdapter(adapter);
    }
}